package edu.ustc.iproject.dao.impl;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import edu.ustc.iproject.bean.LeaveMessageM;
import edu.ustc.iproject.dao.LmmDAO;


import org.hibernate.Query;
import org.hibernate.Session;


public class LmmDAOImpl extends HibernateDaoSupport implements LmmDAO {

	public void deleteLmm(LeaveMessageM lmm) {
		
		this.getHibernateTemplate().delete(lmm);

	}

	public List<LeaveMessageM> findLmmsByMessage() {
		// TODO Auto-generated method stub
		return null;
	}

	public void saveLmm(LeaveMessageM lmm) {
		
		this.getHibernateTemplate().save(lmm);

	}

}
